<html>
	<body>
	
	<h3>Edit Page</h3>
	<table border="1">
		<tr>
			<td>Name</td>
            <td>Email</td>
            <td>ApiKey</td>
            <td>SecretKey</td>
            <td>Enabled</td>
		</tr>
		<tr>
			<td>{{ api.name }}</td>
            <td>{{ api.email }}</td>
            <td>{{ api.api_key }}</td>
            <td>{{ api.secret_key }}</td>
            <td>
                <input type="checkbox" name="{{ api.api_key }}"
                    {% if api.enabled %} checked{% endif %} disabled>
            </td>
		</tr>
	</table>
	Enter new infomation<br>
	<form method="post">
		<table>
		<tr>
		<td>Name:</td><td><input type="text" name="api_name" /></td></tr>
		<tr><td>Email:</td><td><input type="text" name="api_email" /></td></tr>
		<tr><td>Enabled:</td><td><input type="checkbox" name="api_enabled" checked /></td></tr>
		<tr><td><input type="submit" value="Edit" onclick="return confirm('Are you sure?')"/></input></td></tr>
		</table>
	</form>
	<a href="/api_key/list"><img src="/icon/list.png"/>Return to ListPage</a><br>
	<a href="/"><img src="/icon/home.png"/>Return to Homepage</a>
	</body>
</html>
			